import request from '@/utils/request'

// 器件、附件条码替换
export function deviceBarcodeReplace (data) {
    return request({
        data,
        url: '/back/processJobClass/deviceBarcodeReplace',
        method: 'post'
    })
}

// ems测试查询
export function hmsHwHmfind(data) {
    return request({
      data,
      url: '/back/hmsHwHm/find',
      method: 'post'
    })
  }

  // 电子看板显示值
export function getSprayParameter(data) {
  return request({
    data,
    url: '/device/pt/getSprayParameter',
    method: 'post'
  })
}

  // 电子看板修改值
  export function findReceiveDataUpd(data) {
    return request({
      data,
      url: '/device/pt/findReceiveDataUpd',
      method: 'post'
    })
  }

    // 电子看板修改
    export function receiveDataUpd(params) {
      return request({
        params,
        url: '/device/pt/receiveDataUpd',
        method: 'post'
      })
    }

    // 电子看板修改刷新
    export function receiveData(params) {
      return request({
        params,
        url: '/device/pt/receiveData',
        method: 'post'
      })
    }
    
    // ems测试明细查询
    export function hnsHwHmInf(data) {
      return request({
        data,
        url: '/back/hns-hw-hm-info/find',
        method: 'post'
      })
    }